interface Lengthwise{
    length:number
}

function loggingId<Type extends Lengthwise>(arg: Type): Type{
  console.log(arg.length)
    return arg;
}

loggingId(['hello', '2', 22])

type A = {
  name: string;

}
type B = {
  name: string;
  age: number
}
type Bool = A extends B ? 'yes' : 'no';
let C:B
C = {
    name:'aaa',
    age:18
}
